<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import ="java.util.*,MemberController.MembersBean"%>
<jsp:useBean id = "list" class="MemberController.MembersBean" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/Main/Css/FirstMain.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/Main/Css/Table_center.css" />
<script src="/KOMORIUTA/Main/FirstMain/Fm_JScript.js" type="text/JavaScript"></script>
<script src="/KOMORIUTA/Main/FirstMain/jquery.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
	a:link, a:visited, a:active{color: #ffffff; text-decoration:none;}
</style>
<title>Fm_Update</title>
<%
String check = (String)request.getAttribute("check");
String Mem_Nick = (String)session.getAttribute("Mem_Nick");
int result  = Integer.parseInt((String)session.getAttribute("result"));
int upcheck = Integer.parseInt((String)request.getAttribute("upcheck"));
%>

</head>
<body>


<div id="tableContainer">

<table align="center" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td>
			<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_top.png">
		</td>
	</tr>
	
	<tr>
		<td width="100%" height="100" bgcolor="#0f89d2">
			<%if(upcheck == 1 || upcheck == 2 || upcheck == 3){ %>
				<a href="/KOMORIUTA/MemverRepAction.do?action_code=list&num=1" name="">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon1_after.png">
				</a>
				
				<a href="/KOMORIUTA/MemverRepAction.do?action_code=Repass&num=1">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon2.png">
				</a>
				
				<a href="/KOMORIUTA/MemberDelAction.do?action_code=Delete&num=1">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon3.png">
				</a>
			
			<%}else if(upcheck == 4){ %>
				<a href="/KOMORIUTA/MemverRepAction.do?action_code=list&num=1" name="">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon1.png">
				</a>
				
				<a href="/KOMORIUTA/MemverRepAction.do?action_code=Repass&num=1">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon2.png">
				</a>
				
				<a href="/KOMORIUTA/MemberDelAction.do?action_code=Delete&num=1">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon3_after.png">
				</a>
			<%}else if(upcheck == 6){ %>
				<a href="/KOMORIUTA/MemverRepAction.do?action_code=list&num=1" name="">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon1.png">
				</a>
				
				<a href="/KOMORIUTA/MemverRepAction.do?action_code=Repass&num=1">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon2_after.png">
				</a>
				
				<a href="/KOMORIUTA/MemberDelAction.do?action_code=Delete&num=1">
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_icon3.png">
				</a>
			<%} %>
		</td>
	</tr>
	
	<tr>
		<td>
			<%if(upcheck == 1){ %>
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_top_1.png">
			<%}else if(upcheck == 4){ %>
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_top_2.png">
			<%}else if(upcheck == 6){ %>
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Fm_Update_top_3.png">
			<%} %>
		</td>
	</tr>
	
	<tr>
		<td>
			<%if(upcheck == 1){ %>
				<jsp:include page="Fm_CheckFind.jsp"></jsp:include>
			<%}else if(upcheck == 2){ %>
				<jsp:include page="Fm_CheckUpdate.jsp"></jsp:include>
			<%}else if(upcheck == 3){ %>
				<jsp:include page="Fm_Conf.jsp"></jsp:include>
			<%}else if(upcheck == 4){ %>
				<jsp:include page="Fm_Delete.jsp"></jsp:include>
			<%}else if(upcheck == 6){ %>
				<jsp:include page="Fm_PassUpdate.jsp"></jsp:include>
			<%} %>
		</td>
	</tr>
	
	<tr>
		<td>
			<img alt="" src="<%=request.getContextPath() %>/Main/image/join2_bottom.png">
		</td>
	</tr>
</table>
</div>
</body>
</html>